package edu.lsnu.equipment_management_system.pojo.po.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author mzy
 * @Description 调入调出PO：JBXX_DRDC
 * @date 2018/11/17
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class EquipmentTransferTablePo {
    public void setEquipmentNo(String equipmentNo) {
        this.equipmentNo = equipmentNo.trim();
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo.trim();
    }
    /** 设备编号：SBBH(来自页面) */
    private String equipmentNo;
    /** 调出调入：DCDR(默认，调入或调出) */
    private String transerOr;
    /** 职工号：ZGH(session) */
    private String userNo;
    /** 出入日期：CRRQ(来自页面) */
    @JsonFormat(pattern = "yyyy-MM-dd", locale = "zh", timezone = "GMT+8")
    private Date transerDate = new Date();
    /** 出入原因：CRYY(来自也页面) */
    private String transerReason;
    /** 调入单位：DRDW(来自也页面) */
    private String transerInUnit;
    /** 调出单位：DCDW(来自也页面) */
    private String transerOutUnit;
    /** 调入调出的备注：BZ(来自也页面) */
    private String remark;


}
